<?php

namespace app\shop\controller\data;

use app\shop\controller\Controller;
use app\shop\model\menu\Menu as MenuModel;

/**
 * 栏目控制器
 */
class Menu extends Controller
{
    /**
     * 栏目列表
     */
    public function lists()
    {
        $model = new MenuModel();
        $list = $model->getList();
        return $this->renderSuccess('', compact('list'));
    }

}
